﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace Domain.Entity
{
    public interface IEntityBase
    {
        /// <summary>
        /// 从DataReader加载数据
        /// </summary>
        /// <param name="idr">DataReader</param>
        /// <param name="fields">数据选取字段集合，字段区分大小写</param>
        void Fill(IDataReader idr, IList<string> fields);
    }
}
